import React, { Component } from 'react';
import {Row, LocaleProvider} from 'antd';
import zhCN from 'antd/lib/locale-provider/zh_CN';
import Header from './components/Header';
import './assets/style/common.less';
class Common extends Component {
    render() {
        return (
            <div>
                <LocaleProvider locale={zhCN}>
                    <div>
                        <Row className="simple-page">
                            <Header menuType="second"/>
                        </Row>
                        <Row className="content"> 
                            {this.props.children}
                        </Row>
                    </div>
                </LocaleProvider>
            </div>
        );
    }
}

export default Common;